package com.rj.bd.manager.service;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.rj.bd.manager.dao.ManagerMapper;
import com.rj.bd.manager.entity.Manager;


@Service("ManagerService")
public class ManagerServiceimpl   implements   IManagerService{

	@Autowired
	private ManagerMapper managerMapper;

	public Manager login(String mname, String mpassword) {
		return managerMapper.login(mname,mpassword);
	}


	public void update(String mtoken, int mid) {
       managerMapper.update(mtoken,mid);		
	}


	
}
